<!DOCTYPE html>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %>
<%@ include file="../core/core.jsp"%>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>添加商品</title>
    <meta name="keywords" content="叮当猫">
    <meta name="description" content="叮当猫">
    <link href="../static/css/summernote.css" rel="stylesheet">
    <link href="../static/css/summernote-bs3.css" rel="stylesheet">
    <link href="../static/css/cropper.min.css" rel="stylesheet">
    <link href="../static/css/sitelogo.css" rel="stylesheet">

    <style>
        #clipArea {
            margin: 20px;
            height: 300px;
        }
        #file,
        #clipBtn {
            margin: 20px;
        }
        #view {
            margin: 0 auto;
            width: 200px;
            height: 200px;
        }
        table.dataTable thead .sorting:after{
            content:'';
        }
        .note-editor{
            background: #f5f5f5;
        }
        .modal-dialog{
            width: 891px;
        }
    </style>
</head>

<body>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox-content">
        <form class="form-horizontal m-t" id="commentForm">
            <div class="form-group">
                <label class="col-sm-1 control-label">流量：</label>
                <div class="col-sm-8">
                    <input id="flux" type="text" class="form-control" name="email" >
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-1 control-label">金额：</label>
                <div class="col-sm-8">
                    <input id="money" type="text" class="form-control" name="email" >
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-1 control-label">状态：</label>
                <div class="col-sm-8">
                    <select name="" id="state" style="width: 100%;height: 34px;">
                        <option selected value="0">无效</option>
                        <option value="1">有效</option>
                    </select>
                </div>
            </div>


            <div class="form-group" id="agreeBox">
                <div class="col-sm-4 col-sm-offset-1">
                    <div class="btn btn-primary" id="apply">保存</div>
                </div>
            </div>
        </form>
    </div>
</div>




<div class="loading" aria-label="Loading" role="img" tabindex="-1"></div>

<script src="../static/js/ajaxfileupload_v1.js"></script>
<script src="../static/js/photoClip/html2canvas.min.js" type="text/javascript" charset="utf-8"></script>

<!-- SUMMERNOTE -->
<script src="../static/js/plugins/summernote.min.js"></script>
<script src="../static/js/plugins/summernote-zh-CN.js"></script>

<script>
    $(document).ready(function () {

        $('.summernote').summernote({
            lang: 'zh-CN'
        });

    });
    var edit = function () {
        $("#eg").addClass("no-padding");
        $('.click2edit').summernote({
            lang: 'zh-CN',
            focus: true
        });
    };
    var save = function () {
        $("#eg").removeClass("no-padding");
        var aHTML = $('.click2edit').code(); //save HTML If you need(aHTML: array).
        $('.click2edit').destroy();
    };
</script>

<!-- 实例化编辑器 -->
<script type="text/javascript">

</script>
<script src="../static/js/flux/add.js" charset="utf-8"></script>
</body>

</html>
